export let columns = {
    studentsColumns: [
        {
            title: "学院",
            dataIndex: "college",
            sorter: (a, b) => a.college.length - b.college.length,
        },
        {
            title: "班级",
            dataIndex: "class",
            sorter: (a, b) => a.class.length - b.class.length,
        },
        {
            title: "姓名",
            dataIndex: "studentName"
        },
        {
            title: "学号",
            dataIndex: "account",
            sorter: (a, b) => a.account - b.account,
        }
    ],
    scoreColumns:[
        {
            title: "姓名",
            dataIndex: "studentName"
        },
        {
            title: "学号",
            dataIndex: "account",
            sorter: (a, b) => a.account - b.account,
        },
        {
            title: "总成绩",
            dataIndex: "score",
            sorter: (a, b) => a.score - b.score,
        },
        {
            title: "平时成绩",
            dataIndex: "usualScore",
            sorter: (a, b) => a.usualScore - b.usualScore,
        },
        {
            title: "考试成绩",
            dataIndex: "examScore",
            sorter: (a, b) => a.examScore - b.examScore,
        },
        {
            title:"操作",
            scopedSlots: { customRender: 'action' },
        }
    ]
}